﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001469 RID: 5225
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TreasureDungeonDataScNotify : IMessage<TreasureDungeonDataScNotify>, IMessage, IEquatable<TreasureDungeonDataScNotify>, IDeepCloneable<TreasureDungeonDataScNotify>, IBufferMessage
	{
		// Token: 0x170041CF RID: 16847
		// (get) Token: 0x0600E9CA RID: 59850 RVA: 0x00270AC5 File Offset: 0x0026ECC5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TreasureDungeonDataScNotify> Parser
		{
			get
			{
				return TreasureDungeonDataScNotify._parser;
			}
		}

		// Token: 0x170041D0 RID: 16848
		// (get) Token: 0x0600E9CB RID: 59851 RVA: 0x00270ACC File Offset: 0x0026ECCC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TreasureDungeonDataScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170041D1 RID: 16849
		// (get) Token: 0x0600E9CC RID: 59852 RVA: 0x00270ADE File Offset: 0x0026ECDE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TreasureDungeonDataScNotify.Descriptor;
			}
		}

		// Token: 0x0600E9CD RID: 59853 RVA: 0x00270AE5 File Offset: 0x0026ECE5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TreasureDungeonDataScNotify()
		{
		}

		// Token: 0x0600E9CE RID: 59854 RVA: 0x00270AED File Offset: 0x0026ECED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TreasureDungeonDataScNotify(TreasureDungeonDataScNotify other) : this()
		{
			this.eDPHOKHAPIK_ = ((other.eDPHOKHAPIK_ != null) ? other.eDPHOKHAPIK_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600E9CF RID: 59855 RVA: 0x00270B22 File Offset: 0x0026ED22
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TreasureDungeonDataScNotify Clone()
		{
			return new TreasureDungeonDataScNotify(this);
		}

		// Token: 0x170041D2 RID: 16850
		// (get) Token: 0x0600E9D0 RID: 59856 RVA: 0x00270B2A File Offset: 0x0026ED2A
		// (set) Token: 0x0600E9D1 RID: 59857 RVA: 0x00270B32 File Offset: 0x0026ED32
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TreasureDungeonLevel EDPHOKHAPIK
		{
			get
			{
				return this.eDPHOKHAPIK_;
			}
			set
			{
				this.eDPHOKHAPIK_ = value;
			}
		}

		// Token: 0x0600E9D2 RID: 59858 RVA: 0x00270B3B File Offset: 0x0026ED3B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TreasureDungeonDataScNotify);
		}

		// Token: 0x0600E9D3 RID: 59859 RVA: 0x00270B49 File Offset: 0x0026ED49
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TreasureDungeonDataScNotify other)
		{
			return other != null && (other == this || (object.Equals(this.EDPHOKHAPIK, other.EDPHOKHAPIK) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600E9D4 RID: 59860 RVA: 0x00270B7C File Offset: 0x0026ED7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.eDPHOKHAPIK_ != null)
			{
				num ^= this.EDPHOKHAPIK.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600E9D5 RID: 59861 RVA: 0x00270BB8 File Offset: 0x0026EDB8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600E9D6 RID: 59862 RVA: 0x00270BC0 File Offset: 0x0026EDC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600E9D7 RID: 59863 RVA: 0x00270BC9 File Offset: 0x0026EDC9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.eDPHOKHAPIK_ != null)
			{
				output.WriteRawTag(122);
				output.WriteMessage(this.EDPHOKHAPIK);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600E9D8 RID: 59864 RVA: 0x00270BFC File Offset: 0x0026EDFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.eDPHOKHAPIK_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.EDPHOKHAPIK);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600E9D9 RID: 59865 RVA: 0x00270C3C File Offset: 0x0026EE3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TreasureDungeonDataScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.eDPHOKHAPIK_ != null)
			{
				if (this.eDPHOKHAPIK_ == null)
				{
					this.EDPHOKHAPIK = new TreasureDungeonLevel();
				}
				this.EDPHOKHAPIK.MergeFrom(other.EDPHOKHAPIK);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600E9DA RID: 59866 RVA: 0x00270C90 File Offset: 0x0026EE90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600E9DB RID: 59867 RVA: 0x00270C9C File Offset: 0x0026EE9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 122U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.eDPHOKHAPIK_ == null)
					{
						this.EDPHOKHAPIK = new TreasureDungeonLevel();
					}
					input.ReadMessage(this.EDPHOKHAPIK);
				}
			}
		}

		// Token: 0x04005C60 RID: 23648
		private static readonly MessageParser<TreasureDungeonDataScNotify> _parser = new MessageParser<TreasureDungeonDataScNotify>(() => new TreasureDungeonDataScNotify());

		// Token: 0x04005C61 RID: 23649
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005C62 RID: 23650
		public const int EDPHOKHAPIKFieldNumber = 15;

		// Token: 0x04005C63 RID: 23651
		private TreasureDungeonLevel eDPHOKHAPIK_;
	}
}
